#include <gtest/gtest.h>
#include <base/Foo.h>

extern void moveNext();

TEST(Test7, should_get_next_ref_and_operator)
{
    ASSERT_TRUE(getFo().getValue() == 1);
    ASSERT_TRUE(getFo1().getValue() == 2);
    moveNext();

    ASSERT_TRUE(getFo().getValue() == 2);
    ASSERT_TRUE(getFo1().getValue() == 3);
}

